package com.fanyue.modules.junit;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.lang.Console;

import java.util.Arrays;
import java.util.Collections;

public class ByteArray {
    public static void main(String[] args) {
        String replace = "[0, -128, -6, 68, 0, 0, -100, 66, 70, -108, -101, 61, 102, -56, 6, -68, -79, -18, -27, -68, -3, 91, -124, -67, 75, 9, -49, -67, -82, 111, -36, 58, 4, 104, 90, 60, -5, 23, -10, 61, -59, -91, -33, -68, 116, -6, 120, 61, 101, 68, 117, 61, -96, 121, -112, -67, 31, -44, -17, 60, 17, 1, 66, 61, 4, -9, -120, -67, -16, -53, -84, 60, 75, -37, 4, 62, 121, 90, 45, -67, 81, -111, 56, 61, 36, -119, -49, 59, -100, -102, 92, 61, 19, 44, 105, -67, -112, 16, -127, -69, 43, 52, 122, 60, 68, -95, -84, -68, -116, -53, -35, 60, 76, 120, 69, -67, 28, -120, 2, -67, 51, 69, -45, -67, -111, -25, 44, -67, -104, 49, -7, 60, -128, -13, 88, 61, 63, -53, -128, 61, -126, 79, 43, -67, 45, 81, -71, -67, 65, 14, -43, -68, -32, -79, -112, -67, -78, 23, -123, -68, -97, 81, 108, -67, 13, 28, -87, 59, 14, 54, 59, -67, 80, -77, -76, 60, -81, -125, -37, -67, 78, 6, -110, 61, -101, 10, 34, -67, -2, 76, 122, 61, -91, -109, -108, -67, -91, 76, 61, -67, -92, 17, 26, 61, -1, -90, -120, -67, 25, -105, 58, -67, 26, -1, 20, -67, -40, -65, 40, -67, 103, 58, -115, -67, -110, 25, -93, 61, -127, 24, 13, 61, 36, 122, 31, 61, 46, -47, 8, 59, -15, 49, -3, -68, -43, 41, 104, -67, -99, -5, 18, 61, 63, 63, -116, -67, 13, -97, -99, 60, -122, -87, 26, 61, -19, -91, -91, 61, -114, -93, -51, -67, -36, -107, -49, -68, -109, -117, 43, 61, -58, 118, -95, -68, -87, -106, -118, -67, 80, -78, 21, -67, 119, 123, -121, -68, 39, -71, -58, 61, 113, -115, -85, 61, -15, 108, 105, 61, 109, 2, -42, -67, -58, -67, 49, -68, 99, -110, 26, 59, -82, 49, 60, 61, -101, -60, -16, -68, -86, 78, -77, -67, -65, 90, 47, 61, -116, 4, -60, -67, 58, -80, 92, 60, -46, -41, 98, -68, -33, -128, -82, -67, 96, -82, 83, 61, 59, 13, -8, -67, -122, 36, 77, 61, -83, -49, 29, -69, 88, -67, 34, 55, -118, 24, 30, 59, 83, 31, -28, -68, -11, -23, -118, -67, 54, -90, -100, 60, 82, -52, 125, 61, 37, 101, 30, 61, -70, 22, 114, -67, -74, 110, -14, 61, -4, 38, 60, 61, 49, -94, -110, -67, -97, -108, -31, -67, 3, 89, 126, -67, -54, -29, -63, -68, 25, -111, 113, 58, -124, 22, 26, 61, 49, 125, 96, 60, -40, -6, 91, -67, -10, 46, -29, 61, -42, 111, 59, -68, 86, 115, 79, -67, -85, 52, -17, -67, -97, -61, 2, 62, 47, -73, 75, 61, -106, 57, 33, 62, 78, -124, 108, -67, -15, -98, -52, -67, 94, 15, -37, 61, 117, -61, -102, -68, 125, -114, -85, 59, 64, -20, 58, 61, 98, -28, 54, 61, -110, 24, -98, 61, 123, -114, 9, -68, -113, 47, 69, 61, 19, -14, 52, 61, 85, -6, 103, -67, 111, -92, 9, 60, -15, 100, -108, 61, 80, 52, 58, 62, -29, -61, -28, -68, -128, 54, 66, -67, 27, 20, -48, -69, 54, 115, -106, -67, 33, -6, -50, 61, 121, 11, 26, 61, -1, 70, 51, -67, -84, -110, -117, -68, -89, -88, -107, 61, -57, 107, 33, -67, 13, 114, -28, -67, -29, -2, -49, 60, 31, 112, 93, 59, -5, 30, -31, 60, 92, -66, -84, -68, 94, -73, 108, -67, -71, 8, 63, -67, 113, 121, 76, 59, 40, 121, 67, 61, -23, 32, 100, -67, 83, -2, 62, -67, 27, 82, 41, 61, 27, -87, -110, 59, -56, 27, -61, 61, -51, -71, -94, -67, -65, -124, 26, 61, -125, -81, -1, 60, -119, -16, 63, 61, -91, -114, 26, 62, -75, 11, 105, -67, 26, -110, 34, 60, -38, -92, 31, -66, 91, 83, 85, 61, 82, -9, -47, 60, -81, -96, 61, 62, -125, 59, 10, 61, -62, -120, 117, 59, -7, -101, 44, -67, -4, -118, 49, -67, -12, 72, 21, -67, -13, -11, -120, -67, 84, -56, -68, 61, -126, 2, 50, -68, -7, -113, 119, -67, 26, -14, -110, -68, 9, -40, -128, -67, 78, -63, 110, -67, -36, 14, 69, 61, 79, -128, 125, -68, 83, 8, 96, 61, 45, 110, 77, 61, -59, 19, 10, -66, -112, 12, -28, 60, 26, 80, -109, 60, -126, -35, -121, -67, -75, 31, 55, 60, -15, 78, 72, 60, 21, 7, -82, -68, 77, 100, -14, -70, 112, 119, 7, -67, -84, -15, -34, -67, -56, -23, -124, -68, 63, -86, -84, -67, 122, -101, 68, 60, -94, -79, -52, -67, 50, -38, 123, -68, 110, -126, -115, -67, 1, 100, 57, 61, -51, -61, 16, -66, -76, -87, -88, 61, 126, -111, -121, 61, 0, -101, -25, 60, 17, -7, 88, -67, 5, 14, 56, 61, 18, 29, 86, -67, 110, -51, -124, 61, 100, 103, 7, -67, -102, 107, -63, 59, 62, -9, -11, -68, -37, -95, -94, -67, -123, 61, -45, 61, 59, 95, 72, -67, -35, 57, -58, 61, -75, 30, -64, 57, -89, 91, -40, -68, -125, 66, 6, -67, 101, 88, -9, -68, -44, 100, 50, 61, -110, -111, -68, 61, 48, -89, -28, 60, 27, 29, -34, -68, -61, -43, -78, -67, 20, -65, -94, -68, -82, 57, 3, -68, -126, 55, 69, -67, -25, 78, -89, 61, -114, 40, -65, -68, -82, 62, -62, -67, -58, 40, 32, -66, 89, 126, 125, 60, 66, 32, -101, 58, -61, -117, 0, -68, 13, -11, 91, 61, -77, 100, -4, -69, 23, 20, 40, -67, -81, 12, -45, -68, 8, 100, 5, 61, 73, -51, 111, -68, 119, 51, 89, 61, 101, -19, -57, 60, -118, -13, 40, -68, -104, -88, -50, -67, -88, 51, 47, 61, 98, 64, 108, 61, -48, 125, -118, 60, 43, 47, -110, -67, -89, 66, -59, 57, -21, 23, -69, -67, 58, -70, 37, 62, 65, -56, 2, 61, 11, 95, -101, -67, -57, 37, -96, 61, 2, 20, 33, 61, -20, -19, 6, 61, 119, 33, 21, -69, -58, -44, -16, 59, -34, -103, -128, 59, 64, -114, 72, -67, 105, -72, -54, 61, 71, 50, 6, 61, 15, -98, 60, -67, -46, 95, -59, -67, -91, 4, -113, -67, 118, -110, 45, -66, -96, -81, -115, 61, -46, 22, -92, -70, -66, 41, -14, 60, -74, 17, 42, -70, 8, -120, -80, 61, -74, 54, -14, -67, 57, 105, -86, 61, -126, 75, 33, 61, -40, -123, -58, 61, -3, -1, 13, -66, -5, -44, 42, -67, 118, 30, 53, 61, -32, 65, 6, 61, -52, -102, -94, 59, 112, 11, -109, 60, 63, 71, 11, -68, 18, 84, -104, -67, 68, 31, 101, 59, 122, 54, -79, -67, -29, 47, -72, -67, -109, -76, -94, -68, -59, -34, -94, 61, -111, 11, 118, 61, 52, -68, -10, -67, -41, 90, 6, -66, 77, 57, -77, -68, -33, 13, -29, 61, 16, -8, -97, -67, 79, 34, -82, -67, -11, 74, -117, 61, 45, 81, 60, -67, 12, -61, 27, -68, 36, -83, 92, 61, 126, -42, -85, 61, -57, 79, 111, 60, 24, -93, -115, -67, -44, -15, -113, -67, -15, -72, -121, 60, 15, -71, -128, 60, 49, 60, -71, -69, -7, -109, 19, -67, -79, 68, -76, -68, 80, -68, 67, 60, 31, 97, -27, 61, -20, -20, 64, 61, 73, -9, -31, 60, -108, -56, -100, 61, -117, -86, -28, 60, 16, -50, -65, 61, -52, 14, -93, -67, -76, -86, -93, 61, -21, -127, 40, 61, -82, 99, 103, 59, 93, 37, 34, 61, 27, 110, 16, 61, 113, -123, 50, 61, 102, -74, 37, 60, 75, 87, 76, -67, 105, -45, -37, 61, 54, 62, -112, -68, -127, 15, 70, -67, -73, 7, 97, -67, 52, -88, 5, -66, -79, 66, -13, -67, 50, 58, -43, 58, 41, -19, 110, -67, 50, 111, -116, 60, 78, -47, -47, 60, 93, 68, -89, -67, -8, -43, 59, -68, -10, -31, 83, 61, -123, -32, -92, -67, 103, -20, 27, 56, -98, 18, -53, 60, -64, -60, 50, -68, 111, -21, 78, -67, -115, 63, 62, 61, -97, -19, -85, 60, -90, 86, 55, -67, -86, -13, -126, 60, -88, 103, 50, 58, 31, 46, -83, 61, 57, 18, 102, 61, -1, 39, 21, -66, 66, 83, 77, -68, 47, 38, 5, 62, 36, 93, 55, -67, 6, -48, 96, 61, 112, -121, 91, 61, 55, 56, -65, 56, -8, -51, -110, 61, -92, -117, 7, 60, -31, -29, -105, -67, 80, 117, 106, -70, 26, 39, -117, 58, -14, 79, 98, 61, 0, 97, 102, -67, -7, -123, -86, 58, 96, 5, 67, -67, 89, 109, 115, -67, -83, -23, -79, -68, 33, 127, 40, 61, -39, -28, -44, -67, -47, 94, 124, 61, -94, -39, -80, 60, -45, 7, -101, 60, 9, 92, 22, 61, 57, -127, 3, -66, -98, 102, -11, 61, -128, -15, 112, -68, -54, -88, -14, -68, 66, -52, 3, 61, -50, -49, -127, -68, -13, 35, -98, 61, -110, -117, 48, -68, -31, -96, -104, -67, -50, 52, -23, -68, 15, -95, 47, 61, -11, 101, -78, 60, 111, -92, 10, 61, -78, 27, -94, -68, -73, -5, -119, 59, -87, 47, -32, -68, 60, 73, -89, 61, -82, 5, -107, 61, -81, 14, 13, 61, -94, -127, -15, -69, 55, -51, 1, 61, -99, -40, -71, -67, 74, -122, 32, -67, -5, 100, -20, -67, -79, 51, -91, 61, -67, -13, 44, 61, -29, -61, 2, 62, 44, 121, 79, 60, 29, 40, 101, 61, -105, -58, -99, -67, 72, -64, 10, 61, 84, -23, 123, 61, 48, -16, -76, -67, -3, -35, 4, -66, 8, -28, 70, -67, -82, -25, 76, -67, 78, -29, -46, 60, 20, -97, -63, 61, -33, -59, 49, -66, -65, -65, -49, -69, -78, -45, 9, 61, -101, -25, -36, -68, -94, -49, 114, -67, 104, -7, -101, 61, -30, 93, 113, -68, -128, -13, 4, 61, 23, -104, -18, -68, 48, 72, -13, 60, 79, -81, -83, -67, -53, 92, 62, -67, -51, -109, -85, 61, 64, -122, 37, -67, -125, 38, 14, -66, -21, -69, 31, 61, -91, -69, 59, 60, -7, -70, -11, -68, -123, 122, -76, 60, -104, -90, -95, -68, 97, 83, 49, -70, -58, 50, -117, 61, 117, -50, -111, -69, -93, 20, 55, 61, 20, -70, 28, -67, 29, 26, 58, -67, -32, -98, 106, 61, 118, 85, 78, 58, 92, 50, -105, 61, -64, -111, 98, -67, -87, -93, -66, 61, 49, 36, -24, -68, -58, 53, -20, 60, 100, 102, -88, 60, 117, -37, 16, -67, 26, -33, -52, -67, -117, 35, -4, 60, -60, 32, 8, -66, 60, 21, 4, 61, 47, -118, -51, -70, -66, -93, 32, 61, -81, 21, 118, -67, 104, -113, -36, -69, -39, 8, -1, -68, 61, 105, -100, -68, 122, -79, -49, -68, -32, 20, -111, -67, 28, 65, 7, -67, -53, 65, 83, 61, 41, -1, 54, -67, 91, 127, -67, 60, 85, 116, 64, -67, -79, -83, -65, -67, 77, 82, -114, -67, -48, 3, -48, -68, 17, -49, -39, -68, 65, 1, -57, -67, 49, -49, -24, -73, -98, -112, 46, 60, -62, 35, 122, 61, 8, 92, 57, -71, 74, 124, -102, 61, 24, -76, -127, -67, 57, -104, 81, 61, 114, -34, 119, -67, 37, 35, 60, 61, -33, -93, -34, -68, 47, -90, -79, 61, -34, 20, 21, -67, 49, 92, -41, 61, -42, -28, 24, -67, -43, -38, -87, -68, 109, -91, -68, -68, 60, -119, -91, -67, 79, -87, 115, 61, -12, -59, 41, 61, 104, 4, -13, -67, 53, -75, 21, -66, -38, 57, 22, -69, 90, 43, 67, 61, -99, -54, -45, 60, -87, 106, 76, 61, 118, -73, 66, -67, 127, -31, -53, -67, -28, 44, 57, 61, 14, 49, 37, 61, 84, 46, -95, -68, -48, -56, 14, -67, 27, 72, 115, -67, -18, -116, -1, 60, -95, -38, 34, 59, 98, -40, -105, -67, 117, -1, -85, 61, -42, 49, -123, -68, -86, 42, -69, -69, 42, 8, -50, 60, 20, 117, 71, -67, 5, 33, -61, -68, -62, -49, 101, -67, 13, -78, -70, -68, -42, 110, 50, -68, -117, -110, -111, -68, 4, 84, 40, -66]";
        Console.log(replace);
        replace = replace.replace("[", "").replace("]", "");
        byte[] featureBytes = Convert.toPrimitiveByteArray(replace);

        byte[] bytes = replace.getBytes();

        boolean areEqual = Arrays.equals(featureBytes, bytes);

        Console.log(featureBytes);
        Console.log(areEqual);
    }
}
